/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.jmmarca.util;

import java.util.Arrays;

import android.content.Context;
import android.widget.Toast;

/**
 *
 * @author Jean Michel
 */
public class Utils {
    
    public static void msg(Context context, String txt){
        Toast msg = Toast.makeText(context, txt, Toast.LENGTH_LONG);
        msg.show();
    }
    
    public static <T> T[] concat(T[] first, T[] second) {
        T[] result = Arrays.copyOf(first, first.length + second.length);
        System.arraycopy(second, 0, result, first.length, second.length);
        return result;
    }
}
